<script>
  export default {
    data() {
      return {
            fileList: []
      }
    },
  }
</script>

<template>
  <div class="index">
    <el-card style="position: fixed;left:32%;top:30%;width: 600px">
        <div slot="header">
            <el-button type="primary" round >文档入库</el-button>
        </div>
        <div class="text item">
            <el-upload

                      action="http://localhost:8000/upload/"
                     :file-list="fileList"
            >
               <el-button size="small" type="primary">点击上传</el-button>
            </el-upload>

        </div>

    </el-card>
  </div>
</template>

<style scoped>
      .index {
            background-image: url(../../assets/images/bj.png);
            background-size: cover;
            background-repeat: no-repeat;
            overflow: hidden;
            height: 100%;
        }


</style>
